import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/Login'
import Home from '@/views/Home'
import Welcome from '@/views/welcome/Welcome'
Vue.use(Router)

export default new Router({
  routes: [{
    name: 'Login',
    path: '/login',
    component: Login
  }, {
    name: 'Home',
    path: '/',
    component: Home,
    children:[{
      name:'welcome',
      path:"welcome",
      component:Welcome
    }]
  }
  ]
})
